package com.hg.miaosha.common.exception;

import lombok.Getter;

/**
 * 自定义业务异常
 * Created by skh on 2017/12/13
 */
@Getter
public class BizException extends RuntimeException {
	private Integer code;

	public BizException(String message) {
		super(message);
	}

	public BizException(Integer code, String message) {
		super(message);
		this.code = code;
	}
}
